<?php
$site_config = function_lib::site_config();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><?php echo $site_config['configuration_title']; ?></title>
        <meta name="description" content="<?php echo $site_config['configuration_meta_description']; ?>" />
        <meta name="keywords" content="<?php echo $site_config['configuration_meta_keyword']; ?>" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->params['frontendUrl']; ?>/css/std.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->params['frontendUrl']; ?>/css/l.css" media="screen" />
        <link rel="shortcut icon" type="image/gif" href="<?php echo Yii::app()->params['config']['dir']['favicon'].$site_config['configuration_favicon']; ?>" />
    </head>
    <body>
        <div class="body">
            <div class="logo"><a href="<?php echo Yii::app()->homeUrl; ?>"><img src="<?php echo Yii::app()->params['frontendUrl']; ?>/images/logo.jpg" alt="logo" /></a></div>
            <div class="address"><b>PT MLM BASIC TBK</b> <br/>Jl. Pangeran Diponegoro No. 245B, Sleman, <br/>DI Yogyakarta 45131 <br/>Telp. (0274) 209672</div>
            <div class="clear"></div>
            <div class="wraptop"></div>
            <div class="wrap">
                <div class="mainwrap">
                    <div class="mainmenu">
                        <?php $this->widget('application.widget.WidgetMenuTop'); ?>
                    </div>
                    <div class="header-image"><img src="<?php echo Yii::app()->params['frontendUrl']; ?>/images/header.jpg" alt="header" /></div>
                    <div class="main">
                        <div class="maincontent">
                            <?php echo $content; ?>
                        </div>
                    </div>
                    <div class="sidebar">
                        <div class="sidebarcontent">
                            <div class="login">
                                <?php $this->widget('application.widget.WidgetLogin'); ?>
                            </div>
                            <div class="topincome">
                                <?php $this->widget('application.widget.WidgetTopIncome'); ?>
                            </div>
                            <div class="topsponsor">
                                <?php $this->widget('application.widget.WidgetTopSponsor'); ?>
                            </div>
                            <div class="topsponsor">
                                <?php $this->widget('application.widget.WidgetMemberNew'); ?>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="sidebarright">
                    <div class="sidebarcontent">
                        <div class="sidebarmenu">
                            <?php $this->widget('application.widget.WidgetMenuSidebar'); ?>
                        </div>
                        <div class="cs">
                            <h3><span>Customer Service</span></h3>
                            <div class="cscontent">
                                <?php $this->widget('application.widget.WidgetSupport'); ?>
                            </div>
                        </div>
                        <div class="bank">
                            <?php $this->widget('application.widget.WidgetBankAccount'); ?>
                        </div>
                        <div class="statistik">
                            <?php $this->widget('application.widget.WidgetStats'); ?>
                        </div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="wrapbottom"></div>
            <div class="footermenu">
                <?php $this->widget('application.widget.WidgetMenuBottom'); ?>
            </div>
            <div class="footer"><?php echo $site_config['configuration_footer']; ?></div>
        </div>
    </body>
</html>
